package team.niit.service.impl;

import team.niit.dao.AdminDAO;
import team.niit.dao.impl.AdminDAOImpl;
import team.niit.entity.AdminEntity;
import team.niit.entity.StudentEntity;
import team.niit.service.AdminService;

/**
 * @Author: HAPPY
 * @Project_name: JSF
 * @Package_name: team.niit.service.impl
 * @Date: 2021/10/26 19:54
 */
public class AdminServiceImpl implements AdminService {
    AdminDAO adminDAO = new AdminDAOImpl();

    @Override
    public AdminEntity modifyAdminById(AdminEntity admin) {
        return adminDAO.modifyAdminById(admin);
    }
}
